package com.huqingshan.LenMore.model.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class Permission implements Serializable {
    private String id;                  //主键
    private String permissionName;      //权限名
    private String url;                 //资源路径
    private List<Role> roles;           //角色表封装的List集合

    @Override
    public String toString() {
        return "Permission{" +
                "id='" + id + '\'' +
                ", permissionName='" + permissionName + '\'' +
                ", url='" + url + '\'' +
                ", roles=" + roles +
                '}';
    }
}
